
import Layout from '@/layout'

const projectRouter = {
  path: '/project',
  component: Layout,
  redirect: '/project/index',
  meta: { title: '项目管理', icon: 'nested' },
  children: [
    {
      path: 'index',
      component: () => import('@/views/item'),
      name: 'Item',
      meta: { title: '项目管理', icon: 'clipboard' }
    },
    {
      path: 'class',
      component: () => import('@/views/class'),
      name: 'Class',
      meta: { title: '班级管理', icon: 'excel' }
    }
  ]
}

export default projectRouter
